﻿using Prism.Mvvm;
using Prism.Commands;
using UsingCompositeCommands.Core;

namespace UsingCompositeCommands.ViewModels
{
    public class MainWindowViewModel : BindableBase
    {
        private string _title = "Prism Application";
        public string Title
        {
            get { return _title; }
            set { SetProperty(ref _title, value); }
        }
        private IApplicationCommands _aPPlicationCommands;
        public IApplicationCommands APPlicationCommands
        {
            get => _aPPlicationCommands;
            set => SetProperty(ref _aPPlicationCommands, value);
        }
        public MainWindowViewModel(IApplicationCommands aPPlicationCommands)
        {
            APPlicationCommands = aPPlicationCommands;
        }
    }
}
